from Utils.router import router
from Utils.zj import mallcoodatas


@router.get('/zj/shopsys')  # 销售排行前10店铺
async def shopsys():
    shop = mallcoodatas.get_shopmoney()
    mallcoomoney = mallcoodatas.Consumption_points()
    return {'shopname': shop[1], 'shopmoney': shop[0], 'mallmoney': mallcoomoney}
